package com.common.domain.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 路亚
 * @version 0.1
 * @className Coupon
 * @description
 * @date 2024/12/21 14:56
 * @since jdk11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("coupon")
public class Coupon {
    @TableId
    private Long id;
    private String name;
    private Integer type;
    private Integer discountValue;
    private LocalDateTime issueBeginTime;
    private LocalDateTime issueEndTime;
    private LocalDateTime termBeginTime;
    private LocalDateTime termEndTime;
    private Integer status;
    private Integer totalNum;
    private Integer issueNum;
    private Integer usedNum;
    private Integer userLimit;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long creater;
    private Long updater;
    private String description;
}
